Fixing popup menus to have "Paste" sensitized correctly. Original patches
authorOwen Taylor <otaylor@redhat.com>
Mon, 22 Oct 2001 20:47:01 +0000 (20:47 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 22 Oct 2001 20:47:01 +0000 (20:47 +0000)
commit92d2dc0ba639efbc360a3de34d4a2ae722afa098
tree07727da269ec0f3ecac5f8e6973354999342fdcc
parent8fe966936c5b855b27aca8e9b2d07839d14662a4
Fixing popup menus to have "Paste" sensitized correctly. Original patches

Mon Oct 22 16:25:12 2001  Owen Taylor  <otaylor@redhat.com>

Fixing popup menus to have "Paste" sensitized correctly. Original
patches from Damian Ivereigh, much mangled.

* gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(),
gtk_selection_data_targets_include_text(). (#60854)

* gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if
the clipboard has text" function gtk_clipboard_wait_is_text_available.
(#60854)

* gtk/gtkentry.c: Only enable the paste item if the clipboard
contains text. (#60973)

* gtk/gtktextview.c: Only enable the paste item if the clipboard
contains text. (#60975)
13 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkclipboard.c
gtk/gtkclipboard.h
gtk/gtkentry.c
gtk/gtkselection.c
gtk/gtkselection.h
gtk/gtktextview.c